package com.hanlin.backend.common.entity;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 登录记录表
 * </p>
 *
 * @author hl.yuan
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HlUserLoginLog对象", description="登录记录表")
public class HlUserLoginLog extends EntityBase  implements Serializable {


    @ApiModelProperty(value = "登录人")
    private Integer userId;

    @ApiModelProperty(value = "登录状态：登录成功=0；账户密码错误=1；")
    private Integer loginState;

    @ApiModelProperty(value = "登录的ip地址")
    private String loginIp;

    @ApiModelProperty(value = "登录时间")
    private Date loginTime;

    @ApiModelProperty(value = "登录类型：预计后面有pc,app；默认是pc端：PC=0；app=1")
    private Integer loginType;



}
